package com.wizhong.os.print.exception;

@SuppressWarnings("serial")
public class PrintExcetion extends Exception {
	public final static int EXCETTIOIN_CODE_FILE_OPEN_FAIL = 0;
	
	private int code;
	public PrintExcetion(int code,String e){
		super(e);
		this.code=code;
	}
	public PrintExcetion(String ErrorString) {
		super(ErrorString);
	}
	public int getState() {
		return code;
	}
	public void setState(int code) {
		this.code = code;
	}
}
